package com.ficus.road.maintain.core.model.smartnew;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author xiawen yang
 * @date 2022/3/2 下午2:43
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SmartDecision extends SmartRankTable {
    // 总金额
    private double money;

    public SmartDecision(SmartRankTable rankTable, double money) {
        roadName = rankTable.getRoadName();
        roadSecName = rankTable.getRoadSecName();
        roadType = rankTable.getRoadType();
        roadCharacter = rankTable.getRoadCharacter();
        level = rankTable.getLevel();
        source = rankTable.getSource();
        bigType = rankTable.getBigType();
        this.money = money;
        PCI = rankTable.getPCI();
        PciDetails = rankTable.getPciDetails();
        RQI = rankTable.getRQI();
        RqiDetails = rankTable.getRqiDetails();
        RDI = rankTable.getRDI();
        RdiDetails = rankTable.getRdiDetails();
        PSSI = rankTable.getPSSI();
        area = rankTable.getArea();
    }
}
